<div class="bjui-pageContent">
    <form action="{:url('Category/edit')}" class="pageForm" data-toggle="validate" method="post">
        <input type="hidden" name="cid" value="{$list.cid}"/>
        <div class="pageFormContent" data-layout-h="0">
            <table class="table-bordered table-condensed table-hover" width="100%">
                <tbody>
                <tr>
                    <td>
                        <label for="j_cname" class="control-label x85">分类名称：</label>
                        <input type="text" name="cname" id="j_cname" value="{$list.cname}" data-rule="required;cname;remote[{:url('Category/same',['cname'=>urlencode($list['cname'])])}]" size="20" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="j_group_id" class="control-label x85">短信模版：</label>
                        <select name="tmid" id="j_group_id" data-toggle="selectpicker" data-width="200">
                            {volist name="tmArr" id="row"}
                                <option value="{$row.tmid}" {eq name="$row.tmid" value="$list.tmid"}selected{/eq}>{$row.title}</option>
                            {/volist}
                        </select>(下单成功后提示短信)
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="j_desc" class="control-label x85">备注信息：</label>
                        <textarea name="desc" id="j_desc" data-toggle="autoheight" cols="20" rows="3" style="resize:none;">{$list.desc}</textarea>
                    </td>
                </tr>
                <tr>
                    <td style="height:35px;">
                        <label for="j_lock1_1" class="control-label x85">状态信息：</label>
                        <input type="radio" name="status" id="j_lock1_1" data-toggle="icheck" value="1" {eq name="$list.status" value="1"}checked{/eq} data-label="启用&nbsp;&nbsp;">
                        <input type="radio" name="status" id="j_lock2_2" data-toggle="icheck" value="0" {eq name="$list.status" value="0"}checked{/eq} data-label="禁用">
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="undo">取消</button></li>
        <li><button type="submit" class="btn-green" data-icon="save">保存</button></li>
    </ul>
</div>